package com.dc.dao;

import com.dc.model.Inventory;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.List;
import java.util.Map;

public interface InventoryDao {
//    分页查询租出管理信息
    List<Inventory> selectPageInventory(@Param("inventory_id") Integer inventory_id,  @Param("flower_name") String flower_name);
    // 新增租出
    Integer insertInventory(Inventory inventory);
    // 修改租出信息
    Integer updateInventory(Inventory inventory);
    // 删除租出信息
    Integer deleteInventory(@Param("ids") String[] ids);
    // 根据id查询租出信息
    List<Inventory> selectInventoryById(@Param("inventory_id") Integer inventory_id);
    Integer selectInventoryByName(@Param("inventory_name") String inventory_name);
    List<Map<String,Object>> findUserObject();


    }
